package com.habitsoft.glassfish.dashboard.client;

import java.io.Serializable;

public class MemoryPoolInfo implements Serializable {
    private static final long serialVersionUID = 4604349813742415014L;
    
    String name;
    long size;
    long used;
    long committed;
    
    public MemoryPoolInfo() {
    }

    
    public MemoryPoolInfo(String name, long size, long used, long committed) {
        this.name = name;
        this.size = size;
        this.used = used;
        this.committed = committed;
    }


    public long getSize() {
        return size;
    }
    public void setSize(long size) {
        this.size = size;
    }
    public long getUsed() {
        return used;
    }
    public void setUsed(long used) {
        this.used = used;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }


    public long getCommitted() {
        return committed;
    }


    public void setCommitted(long committed) {
        this.committed = committed;
    }
    
}
